package com.t174.car.dao;

import com.t174.car.entity.Repairorder;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface RepairorderDao {
    public List<Repairorder> query(Repairorder repairorder);

    public int addOrder(Repairorder repairorder);

    public int getIdByOr(String orId);

    public int upState(@Param("state") int state, @Param("id") int id, @Param("money") Double money);

    public int backState(@Param("state") int state, @Param("id") int id,@Param("note") String note);
}
